<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			#box{
				background: cadetblue;
				width: 500px;
				height: 600px;
				overflow: auto;
			}
			#left{
				/*height: 2000px;*/
				width: 200px;
				background: burlywood;
				/*overflow: auto;*/
			}
		</style>
	</head>
	<body>
		
	</body>
	<script type="text/javascript">
		var arr = [1,4,6,9,5];
//		for(var i=0;i<arr.length;i++){
//			if(arr[i] == 6){
//				arr.splice(i,i+1)
//			}
//		}
		arr.splice(2,1);
		console.log(arr,arr.length)
	</script>
</html>
